﻿using System.Collections.Generic;

namespace JinYuan.Models
{


    /// <summary>
    /// 进出站上传数据
    /// </summary>
    public class EnterandExit
    {
        /// <summary>
        /// BU编码
        /// </summary>
        public string bu_id;
        /// <summary>
        /// 区域简称
        /// </summary>
        public string district_id;
        /// <summary>
        /// 工厂编码
        /// </summary>
        public string factory_id;
        /// <summary>
        /// 产线编码
        /// </summary>
        public string production_line_id;
        /// <summary>
        /// 工序编码
        /// </summary>
        public string production_processes_id;
        /// <summary>
        /// 工作中心编码
        /// </summary>
        public string work_center_id;
        /// <summary>
        /// 工站
        /// </summary>
        public string station_id;
        /// <summary>
        /// 设备编码
        /// </summary>
        public string device_name;
        /// <summary>
        /// 进出站标识
        /// </summary>
        public string action;
        /// <summary>
        /// 动作时间（进出站）
        /// </summary>
        public string action_time;
    }

    public class CollectionUpload
    {
        /// <summary>
        /// BU编码
        /// </summary>
        public string bu_id;
        /// <summary>
        /// 区域简称
        /// </summary>
        public string district_id;
        /// <summary>
        /// 工厂编码
        /// </summary>
        public string factory_id;
        /// <summary>
        /// 产线编码
        /// </summary>
        public string production_line_id;
        /// <summary>
        /// 工序编码
        /// </summary>
        public string production_processes_id;
        /// <summary>
        /// 工作中心编码
        /// </summary>
        public string work_center_id;
        /// <summary>
        /// 工站
        /// </summary>
        public string station_id;
        /// <summary>
        /// 设备编码
        /// </summary>
        public string device_name;
        /// <summary>
        /// 采集项数据列表
        /// </summary>
        public List<Collection> taglist { get; set; }

    }

    public class Collection
    {
        /// <summary>
        /// 时间
        /// </summary>
        public string device_time { get; set; }
        /// <summary>
        /// 采集项键值对
        /// </summary>
        public Dictionary<string, string> collection_items { get; set; }
    }

    #region 预测性数据采集项对象
    public class Predictability_BM
    {
        //------------------------------------------------------------------------扭矩 扭矩 扭矩 扭矩
        public string Coating1_Torque1 { get; set; }
        public string Coating1_Torque2 { get; set; }
        public string Coating1_Torque3 { get; set; }
        public string Coating1_Torque4 { get; set; }
        public string Coating1_Torque5 { get; set; }
        public string Coating1_Torque6 { get; set; }
        public string Coating1_Torque7 { get; set; }
        public string Coating1_Torque8 { get; set; }
        public string Coating2_Torque1 { get; set; }
        public string Coating2_Torque2 { get; set; }
        public string Coating2_Torque3 { get; set; }
        public string Coating2_Torque4 { get; set; }
        public string Coating2_Torque5 { get; set; }
        public string Coating2_Torque6 { get; set; }
        public string Coating2_Torque7 { get; set; }
        public string Coating2_Torque8 { get; set; }
        public string Folding1_Torque1 { get; set; }
        public string Folding1_Torque2 { get; set; }
        public string Folding1_Torque3 { get; set; }
        public string Folding2_Torque1 { get; set; }
        public string Folding2_Torque2 { get; set; }
        public string Folding2_Torque3 { get; set; }
        //------------------------------------------------------------------------轴速度 轴速度 轴速度 轴速度
        public string Coating1_AxisSpeed1 { get; set; }
        public string Coating1_AxisSpeed2 { get; set; }
        public string Coating1_AxisSpeed3 { get; set; }
        public string Coating1_AxisSpeed4 { get; set; }
        public string Coating1_AxisSpeed5 { get; set; }
        public string Coating1_AxisSpeed6 { get; set; }
        public string Coating1_AxisSpeed7 { get; set; }
        public string Coating1_AxisSpeed8 { get; set; }
        public string Coating2_AxisSpeed1 { get; set; }
        public string Coating2_AxisSpeed2 { get; set; }
        public string Coating2_AxisSpeed3 { get; set; }
        public string Coating2_AxisSpeed4 { get; set; }
        public string Coating2_AxisSpeed5 { get; set; }
        public string Coating2_AxisSpeed6 { get; set; }
        public string Coating2_AxisSpeed7 { get; set; }
        public string Coating2_AxisSpeed8 { get; set; }
        public string Folding1_AxisSpeed1 { get; set; }
        public string Folding1_AxisSpeed2 { get; set; }
        public string Folding1_AxisSpeed3 { get; set; }
        public string Folding2_AxisSpeed1 { get; set; }
        public string Folding2_AxisSpeed2 { get; set; }
        public string Folding2_AxisSpeed3 { get; set; }

        //------------------------------------------------------------------------轴位置 轴位置 轴位置 轴位置
        public string Coating1_AxisPosition1 { get; set; }
        public string Coating1_AxisPosition2 { get; set; }
        public string Coating1_AxisPosition3 { get; set; }
        public string Coating1_AxisPosition4 { get; set; }
        public string Coating1_AxisPosition5 { get; set; }
        public string Coating1_AxisPosition6 { get; set; }
        public string Coating1_AxisPosition7 { get; set; }
        public string Coating1_AxisPosition8 { get; set; }
        public string Coating2_AxisPosition1 { get; set; }
        public string Coating2_AxisPosition2 { get; set; }
        public string Coating2_AxisPosition3 { get; set; }
        public string Coating2_AxisPosition4 { get; set; }
        public string Coating2_AxisPosition5 { get; set; }
        public string Coating2_AxisPosition6 { get; set; }
        public string Coating2_AxisPosition7 { get; set; }
        public string Coating2_AxisPosition8 { get; set; }
        public string Folding1_AxisPosition1 { get; set; }
        public string Folding1_AxisPosition2 { get; set; }
        public string Folding1_AxisPosition3 { get; set; }
        public string Folding2_AxisPosition1 { get; set; }
        public string Folding2_AxisPosition2 { get; set; }
        public string Folding2_AxisPosition3 { get; set; }
        //------------------------------------------------------------------------行程时间 行程时间 行程时间 行程时间
        public string Coating1_Cylinder_TravelTime1 { get; set; }
        public string Coating1_Cylinder_TravelTime2 { get; set; }
        public string Coating1_Cylinder_TravelTime3 { get; set; }
        public string Coating1_Cylinder_TravelTime4 { get; set; }
        public string Coating1_Cylinder_TravelTime5 { get; set; }
        public string Coating1_Cylinder_TravelTime6 { get; set; }
        public string Coating1_Cylinder_TravelTime7 { get; set; }
        public string Coating1_Cylinder_TravelTime8 { get; set; }
        public string Coating1_Cylinder_TravelTime9 { get; set; }
        public string Coating1_Cylinder_TravelTime10 { get; set; }
        public string Coating1_Cylinder_TravelTime11 { get; set; }
        public string Coating1_Cylinder_TravelTime12 { get; set; }
        public string Coating1_Cylinder_TravelTime13 { get; set; }
        public string Coating1_Cylinder_TravelTime14 { get; set; }
        public string Coating2_Cylinder_TravelTime1 { get; set; }
        public string Coating2_Cylinder_TravelTime2 { get; set; }
        public string Coating2_Cylinder_TravelTime3 { get; set; }
        public string Coating2_Cylinder_TravelTime4 { get; set; }
        public string Coating2_Cylinder_TravelTime5 { get; set; }
        public string Coating2_Cylinder_TravelTime6 { get; set; }
        public string Coating2_Cylinder_TravelTime7 { get; set; }
        public string Coating2_Cylinder_TravelTime8 { get; set; }
        public string Coating2_Cylinder_TravelTime9 { get; set; }
        public string Coating2_Cylinder_TravelTime10 { get; set; }
        public string Coating2_Cylinder_TravelTime11 { get; set; }
        public string Coating2_Cylinder_TravelTime12 { get; set; }
        public string Coating2_Cylinder_TravelTime13 { get; set; }
        public string Coating2_Cylinder_TravelTime14 { get; set; }
        public string CornerCutting1_Cylinder_TravelTime1 { get; set; }
        public string CornerCutting1_Cylinder_TravelTime2 { get; set; }
        public string CornerCutting1_Cylinder_TravelTime3 { get; set; }
        public string CornerCutting1_Cylinder_TravelTime4 { get; set; }
        public string CornerCutting1_Cylinder_TravelTime5 { get; set; }
        public string CornerCutting1_Cylinder_TravelTime6 { get; set; }
        public string CornerCutting1_Cylinder_TravelTime7 { get; set; }
        public string CornerCutting1_Cylinder_TravelTime8 { get; set; }
        public string CornerCutting2_Cylinder_TravelTime1 { get; set; }
        public string CornerCutting2_Cylinder_TravelTime2 { get; set; }
        public string CornerCutting2_Cylinder_TravelTime3 { get; set; }
        public string CornerCutting2_Cylinder_TravelTime4 { get; set; }
        public string CornerCutting2_Cylinder_TravelTime5 { get; set; }
        public string CornerCutting2_Cylinder_TravelTime6 { get; set; }
        public string CornerCutting2_Cylinder_TravelTime7 { get; set; }
        public string CornerCutting2_Cylinder_TravelTime8 { get; set; }

    }
    #endregion
}
